﻿// ServiceModel.Silverlight.Tests.Web.Global.asax.cs
// ----------------------------------------------------------------------------
// Licensed under the MIT license
// http://www.opensource.org/licenses/mit-license.html
// ----------------------------------------------------------------------------
// HighSpeed-Solutions, LLC
// Copyright (c) 2001-2010
// ----------------------------------------------------------------------------
// File:       Global.asax.cs
// Author:     HSS\gbanta
// Created:    08/12/2010
// Modified:   12/04/2010
// ----------------------------------------------------------------------------
namespace ServiceModel.Silverlight.Tests.Web
{
	// Note: For instructions on enabling IIS6 or IIS7 classic mode, 
	// visit http://go.microsoft.com/?LinkId=9394801

	public class MvcApplication : System.Web.HttpApplication
	{

		protected void Application_Start()
		{

			HSS.ServiceModel.VirtualServiceProvider.Initialize(new HSS.ServiceModel.VirtualServiceContext()
			{
				RequiresSSL = false,
				VirtualServiceToken = "chuck"
			});

			HSS.ServiceModel.VirtualServiceProvider.Register("services");
		}
	}
}